package com.geokon.test.demo1.domain;

import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;

public class GOridata {
    private String rtuCode;
    private String paraID;
    private double paraValue;
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    private Date collectTime;
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    private Date systemTime;

    // Getters and Setters
    public String getRtuCode() {
        return rtuCode;
    }

    public void setRtuCode(String rtuCode) {
        this.rtuCode = rtuCode;
    }

    public String getParaID() {
        return paraID;
    }

    public void setParaID(String paraID) {
        this.paraID = paraID;
    }

    public double getParaValue() {
        return paraValue;
    }

    public void setParaValue(double paraValue) {
        this.paraValue = paraValue;
    }

    public Date getCollectTime() {
        return collectTime;
    }

    public void setCollectTime(Date collectTime) {
        this.collectTime = collectTime;
    }

    public Date getSystemTime() {
        return systemTime;
    }

    public void setSystemTime(Date systemTime) {
        this.systemTime = systemTime;
    }
    // 添加 toString 方法
    @Override
    public String toString() {
        return "GOridata{" +
                "rtuCode='" + rtuCode + '\'' +
                ", paraID='" + paraID + '\'' +
                ", paraValue=" + paraValue +
                ", collectTime=" + collectTime +
                ", systemTime=" + systemTime +
                '}';
    }


}